<template>
  <div class="page-fs">
    <ant-form-render
      :form-data-original="formDataOriginal"
      :properties-original="propertiesOriginal"
    />
    <XFormRender />
  </div>
</template>

<script>
import XFormRender from "@/components/ant-form-render/XFormRender";
import AntFormRender from "@/components/ant-form-render/AntFormRender";

export default {
  components: {
    AntFormRender
  },
  data() {
    return {
      formDataOriginal: {
        string: 'aaa',
        select1: 'c'
      },
      propertiesOriginal: {
        select1: {
          title: '单选',
          type: 'string',
          enum: ['a', 'b', 'c'],
          enumNames: ['早', '中', '晚'],
        },
        string: {
          title: 'string',
          type: 'string',
          maxLength: 4,
          'ui:options': {
            placeholder: 'enter more than 4 characters',
          },
        }
      }
    }
  },
  methods: {
  }
}
</script>

<style scoped>

</style>